Follow-up r103179: $handled variable undefined
authorPlatonides <platonides@users.mediawiki.org>
Tue, 15 Nov 2011 16:27:16 +0000 (16:27 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 15 Nov 2011 16:27:16 +0000 (16:27 +0000)
maintenance/Maintenance.php

index c807c08..c4e672f 100644 (file)
@@ -391,7 +391,7 @@ abstract class Maintenance {
                $this->atLineStart = false;
                if ( $channel === null ) {
                        // For unchanneled messages, output trailing newline immediately
-                       if( $handle ) {
+                       if( $cli ) {
                                fwrite( STDOUT, "\n" );
                        } else {
                                print "\n";